<?php
declare (strict_types = 1);

namespace app\mall\model;

use think\Model;

/**
 * @mixin Model
 */
class MallUserLevelSetting extends MallBase
{

    public static function buildLevelOptions($hasAll = false)
    {
        return static::buildOptions('flag', 'name', $hasAll);
    }

    public static function buildLevelKeyValye($hasAll = false)
    {
        return static::buildKeyValue('flag', 'name', $hasAll);
    }

}
